package org.example.platform.design.abstractfactory.factorymehod2.factorymehod;


import org.example.platform.design.abstractfactory.factorymehod2.factorymehod.dept.DeptMysqlDB;
import org.example.platform.design.abstractfactory.factorymehod2.factorymehod.dept.DeptSQLInterface;
import org.example.platform.design.abstractfactory.factorymehod2.factorymehod.user.MysqlDB;
import org.example.platform.design.abstractfactory.factorymehod2.factorymehod.user.SQLInterface;

public class Mysql  implements FactoryInterface {
    @Override
    public SQLInterface create() {
        return new MysqlDB();
    }

    @Override
    public DeptSQLInterface createDept() {
        return new DeptMysqlDB();
    }
}
